home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
EOT_Dream.ifx
< prev
next >
Wrap
Text File
|
1996-03-02
|
826b
|
40 lines
/*
* EOT_Dream.ifx
* Written by Thomas Krehbiel
*
* Dream Sequence Effect.
*
* Inputs:
* Word(Arg(1),1) = Frame number (1 - N)
* Word(Arg(1),2) = Main filename ("-" if not specified)
* Word(Arg(1),3) = Swap filename ("-" if not specified)
* Word(Arg(1),4) = Sequence number (?)
* Word(Arg(1),5) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
framenum = Word(Arg(1),1)
mainname = Word(Arg(1),2)
swapname = Word(Arg(1),3)
seqnum = Word(Arg(1),4)
framemax = Word(Arg(1),5)
base = 'Autofx_Dream_'
orient = GETCLIP(base||'Orient')
amt = GETCLIP(base||'Amount')
waves = GETCLIP(base||'Waves')
start = 360 * (framenum-1) % (framemax)
otag = 'HORIZ'
IF orient = 1 THEN otag = 'VERT'
Hook Dream otag amt waves start 0 WRAP
EXIT rc